<template>
	<view class="content">
		<view class="status"></view>
		<view class="nav">
			<view class="left">
				<u-icon class="icon" name="arrow-left" size="44rpx" color="#000000" @click="toBack()"></u-icon>
			</view>
			<view class="center">
				通知
			</view>
			<view class="right">

			</view>
		</view>
		<view class="substance">
			
		<u-parse :content="content"></u-parse>
		</view>

	</view>
</template>

<script>
	export default {
	
		data() {
			return {
				content: `
						<p>露从今夜白，月是故乡明</p>
						<img src="https://cdn.uviewui.com/uview/swiper/2.jpg" />
								`

			}
		},
		methods: {
			toBack(){
				uni.navigateBack({
					delta:1
				})
			},

		}
	}
</script>

<style>
	page {
		background-color: #ffffff;
	}
</style>
<style lang="scss">
	.content {
		text-align: center;
		align-items: center;
		width: 100%;
		padding-bottom: 60rpx;

		.status {
			height: var(--status-bar-height);
			background-color: #FFFFFF;
		}

		.nav {
			height: 120rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			background-color: #FFFFFF;

			.left {
				.icon {
					margin-left: 32rpx;
				}
			}

			.center {
				font-style: normal;
				color: #000000;
				font-size: 33rpx;
				font-family: Source Han Sans CN;
				font-weight: bold;
			}

			.right {
				height: 120rpx;
				text-align: center;
				align-items: center;
				margin-right: 32rpx;

				image {
					height: 40rpx;
					width: 40rpx;
					margin-top: 40rpx;
				}
			}
		}
	}
</style>
